<%--系统管理员登录界面--%>
<%--
  Created by IntelliJ IDEA.
  User: tangms
  Date: 2022/4/2
  Time: 8:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<style>
    *{
        margin: 0px;
        padding: 0px;
        box-sizing: border-box;
    }
    .bac_border{
        width: 500px;
        height:700px;
        border: 8px solid #EEEEEE;
        margin: auto;
        padding: 15px;
    }
    .title{
        margin:auto;
        margin-top: 190px;
    }
    .end{
        margin:auto;
        margin-top: 40px;
    }
    .word{
        font-size: 20px;
    }
    #usename,#password{
        border: 1px;
        width:452px ;
        margin-top: 50px;
    }
    .left{
        width: 80px;
        text-align: right;
        height: 80px;
    }
    #usename,#password{
        width: 290px;
        height: 43px;
        border: 1px solid #A6A6A6;
        border-radius: 5px;
        padding-left: 10px;
    }
    #btn_sub{
        width: 100px;
        height: 30px;
        background-color:lightskyblue;
        align-content: center;
        border: 1px solid lightskyblue;
    }
    .tip{
        color:red;
        margin-left: 200px;
        margin-bottom: 30px;
    }
</style>
<body>
<div class="bac_border">
    <div class="title"><p class="word" align="center">系统管理员登录</p></div>
    <div  class="table">
        <form action="system_loginServlet" method="post">
            <table>
                <tr>
                    <td class="left"><label for="usename">用户名</label></td>
                    <td class="right"><input type="text" name="usename" id="usename" placeholder="请输入用户名"></td>
                </tr>
                <tr>
                    <td class="left"><label for="password">密码</label></td>
                    <td class="right"><input type="password" name="password" id="password" placeholder="请输入密码"></td>
                </tr>
                <div class="end" align="center" colspan="3" >
                    <input type="submit" id="btn_sub" value="登录">
                </div>
            </table>
        </form>
    </div>
    <div class="tip"><%=request.getAttribute("login_fail")==null?"":request.getAttribute("login_fail")%></div>
</div>
</body>
</html>
